<?php
spl_autoload_register();

$user_list = new \vendor\AllUser();
foreach ($user_list as $user){
    var_dump($user);
}